Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusted hub upgrade database migration to show only actionable logs (3.21) #1513

Draft
wants to merge 3 commits into
base: 3.21.x
Choose a base branch
from

Conversation

craigcomstock
Copy link
Contributor

  • Adjusted hub upgrade database migration to show only actionable logs
  • Revert "Adjusted calling pg_upgrade during upgrade to include LD_LIBRARY_PATH of previous installation"

If pg_upgrade fails it is OK because we have several other options which we try during hub package upgrade.

To see any errors, run the upgrade with DEBUG=1 defined as an environment variable.

Ticket: ENT-12383
Changelog: title
(cherry picked from commit c3bbbc3)
…ARY_PATH of previous installation"

In the case of 3.21.5 (postgresql 15.6) to 3.25.0a (master, postgresql 17.0) pg_upgrade seems to work fine with the removal of LD_LIBRARY_PATH pointed at the backup.

In other cases we will simply ignore pg_upgrade failures and allow the subsequent migration methods to proceed.
This reverts commit e39924c.

(cherry picked from commit 2c74496)
@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins

@cf-bottom
Copy link

@craigcomstock
Copy link
Contributor Author

craigcomstock commented Oct 18, 2024

retry flaked sequential-test: Build Status

@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins please.

@cf-bottom
Copy link

@craigcomstock
Copy link
Contributor Author

cancelled the job changed my mind. will shellcheck and test before spending ci time.

… if pg_upgrade fails

Ticket: ENT-12383
Changelog: none
@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins

@cf-bottom
Copy link

@craigcomstock
Copy link
Contributor Author

only flakes. Looks good!

@craigcomstock craigcomstock marked this pull request as draft October 24, 2024 16:45
@craigcomstock
Copy link
Contributor Author

Will wait on master change: #1515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants